<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form id="distributionForm">
	<input type="hidden" name="students" value="${stu.id}" />
	<div class="form-item">
		<label for="">学员</label>
		<input value="${stu.name}" readonly="true" data-options="required:false" type="text" class="easyui-textbox" name="userName" />
	</div>
	<div class="form-item required">
		<label for="">咨询师</label>
		<c:if test="${stu.emp.id==null}">
		<select data-options="value:'${e.id}',panelHeight:'auto',editable:false" name="emp" class="easyui-combobox" style="width: 202px;">
			<c:forEach items="${emp}" var="e">
				<option value="${e.id}">${e.name}</option>
			</c:forEach>
		</select>
		</c:if>
		<c:if test="${stu.emp.id!=null}">
				<span>${stu.emp.name}</span>
		</c:if>
	</div>
</form>